package com.book.service;

import com.book.dto.ShopDetailDto;
import com.book.pojo.ShopDetail;

import java.util.List;

/**
 * @Author 李锦程
 * @Date 2021/3/9 2:11 下午
 * @Package com.book.service
 * @Version 1.0
 */
public interface ShopCarDetailService {
    /**
     * 获取用户购物车内容
     * @param scCode
     * @return
     */
    List<ShopDetailDto> getShopCarDetail(String scCode);

    Integer save(ShopDetailDto shopDetailDto);

    void updateCarBookNum(Integer id, int num);

    Integer deleteCarBook(Integer id);

    ShopDetail getShopCarBook(int parseInt);

    List<ShopDetailDto> getShopCarDetail(List<Integer> ids);

}
